import {
  createApp
} from 'vue'
import {
  createPinia
} from 'pinia'
import router from '@/router/index'
import ElementPlus from 'element-plus'
import locale from 'element-plus/dist/locale/zh-cn'
import 'element-plus/dist/index.css'
import App from '@/App.vue'
import formater from '@/formater.js'




const pinia = createPinia()
const app = createApp(App)

app.config.globalProperties.$formater = formater

app.use(ElementPlus, {
  locale
})
app.use(pinia)
app.use(router)
app.mount('#app')
